﻿using AutoMapper;
using Management.Systeam.Domaina;
using Management.Systeam.Write.Api.Application.Command.Rolees;
using Management.Systeam.Write.Api.Application.Command.Useres;

namespace Management.Systeam.Write.Api.Auto
{
    public class MyMapper: Profile
    {
        public MyMapper()
        {
            CreateMap<AddUserCommand, Users>().ReverseMap();
            CreateMap<AddRoleCommand, Role>().ReverseMap();
        }
    }

}
